package cn.tedu.boqi.shop.user.mapper;

import cn.tedu.boqi.shop.user.pojo.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    int insert(User user);

    int deleteById(Long id);

    int update(User user);

    int count();

    int countByPhone(String name);

    int countByNickname(String nickname);
}
